Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: access iterators from RawDocument without needing to convert to RawDocumentBuf #462

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

tychoish
Copy link
Contributor

No description provided.

@abr-egn abr-egn self-assigned this Feb 28, 2024
@abr-egn abr-egn self-requested a review February 28, 2024 21:36
Copy link
Contributor

@abr-egn abr-egn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sending this in!

Copy link
Contributor

@isabelatkinson isabelatkinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR! just one request for a doc comment

Iter::new(self)
}

pub fn iter_elements(&self) -> RawIter<'_> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a doc comment for this method as well? It can probably copy most of the content of the RawDocumentBuf::iter_elements comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure thing!

@tychoish tychoish requested a review from isabelatkinson March 1, 2024 20:05
Copy link
Contributor

@isabelatkinson isabelatkinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, I'll merge this in!

@isabelatkinson isabelatkinson merged commit c89e137 into mongodb:main Mar 1, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants